﻿using Orchard.UI.Resources;

namespace EMS.Calendar {
    public class ResourceManifest : IResourceManifestProvider {
        public void BuildManifests(ResourceManifestBuilder builder) {
            builder.Add().DefineStyle("Calendar").SetUrl("fullcalendar.css");
            builder.Add().DefineStyle("CalendarPrint").AddAttribute("media", "print").SetUrl("fullcalendar.print.css");
            builder.Add().DefineStyle("CalendarTheme").SetUrl("theme.css");

            builder.Add().DefineScript("Calendar").SetDependencies("jQuery").SetUrl("fullcalendar.min.js");
            builder.Add().DefineScript("CalendarPart").SetDependencies("jQuery").SetUrl("calendarpart.js");
        }
    }
}